/**
 * 
 */
package com.onstar.cn.map.core;

import com.onstar.cn.map.core.impl.OGeoPointImpl;

/**
 * @author Qiying Gong
 *
 * @Created 2013-4-24
 */
public class Circle {

	private double radius;
	private OGeoPoint center;
	
	public Circle(double radius, OGeoPoint center){
		this.radius = radius;
		this.center = center;
	}
	
	public Circle(double radius, double centerX,double centerY){
		this.radius = radius;
		this.center = new OGeoPointImpl(centerX,centerY);
	}

	/**
	 * @return the radius
	 */
	public double getRadius() {
		return radius;
	}

	/**
	 * @param radius the radius to set
	 */
	public void setRadius(double radius) {
		this.radius = radius;
	}

	/**
	 * @return the center
	 */
	public OGeoPoint getCenter() {
		return center;
	}

	/**
	 * @param center the center to set
	 */
	public void setCenter(OGeoPoint center) {
		this.center = center;
	}
	
	
}
